package com.qingke.animal1;

public abstract class Animal {
	public  String name;
	public String owner;
	protected int age;
	public int eatRiceNum;
	
	public Animal(String name){
		this.name=name;
	}
	
	public Animal(String name,int age,int eatRiceNum){
		this.name=name;
		this.age=age;
		this.eatRiceNum=eatRiceNum;
	}
	
	public abstract void run();
	public abstract void eat();

}
